import {StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  box: {
    flex: 1,
    backgroundColor: 'rgb(250, 250, 250)',
  },
  container: {
    flex: 1,
    // paddingVertical: px2dp(20),
  },
  list: {
    backgroundColor: '#fff',
    flexDirection: 'row',
    paddingHorizontal: px2dp(31),
    paddingTop: px2dp(31),
    paddingBottom: px2dp(20),
  },
  video: {
    width: px2dp(203),
    height: px2dp(118),
    marginRight: px2dp(19),
  },
  cover: {
    width: px2dp(203),
    height: px2dp(118),
    backgroundColor: '#eee',
  },
  icon: {
    width: px2dp(32),
    height: px2dp(32),
    position: 'absolute',
    left: '50%',
    top: '50%',
    marginLeft: px2dp(-16),
    marginTop: px2dp(-16),
  },
  info: {
    flex: 1,
    justifyContent: 'space-between',
    paddingVertical: px2dp(10),
  },
  title_container: {
    flexDirection: 'row',
    justifyContent: 'space-between',
  },
  title: {
    flex: 1,
    fontSize: px2dp(26),
    color: '#333',
    fontWeight: 'bold',
  },
  del_icon: {
    width: px2dp(28),
    height: px2dp(26),
    marginLeft: px2dp(24),
  },
  time: {
    fontSize: px2dp(18),
    color: '#666',
  },
  money: {
    fontSize: px2dp(24),
    color: '#EB0029',
    fontWeight: 'bold',
  },
  action: {
    backgroundColor: '#fff',
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'flex-end',
    paddingBottom: px2dp(24),
    marginBottom: px2dp(12),
  },
  btn: {
    height: px2dp(48),
    borderColor: '#ccc',
    borderWidth: px2dp(1),
    justifyContent: 'center',
    alignItems: 'center',
    borderRadius: px2dp(8),
    marginRight: px2dp(30),
  },
  btn_text: {
    fontSize: px2dp(22),
    color: '#333',
    paddingHorizontal: px2dp(25),
  },
  btn_text_shop: {
    fontSize: px2dp(22),
    color: '#EB0029',
    paddingHorizontal: px2dp(25),
  },
  text_time: {
    fontSize: px2dp(22),
    color: '#EB0029',
    marginRight: px2dp(30),
  },
  text_cancel: {
    fontSize: px2dp(22),
    color: '#999',
    marginRight: px2dp(30),
  },
});

export default styles;
